import request from "@/request/api";
/* 工单变更 */
// 查询分页列表
export function queryPageList(data) {
  return request({
    url: "/eam-service-order/prodForm/page",
    method: "get",
    params: data,
  });
}
// 根据id查询
export function getDetailsApi(data) {
  return request({
    url: "/eam-service-order/prodForm",
    method: "get",
    params: data
  });
}
//删除
export function deleteApi(data) {
  return request({
    url: "/eam-service-order/prodForm",
    method: "delete",
    params: data,
  });
}
//新增或修改
export function addOrUpdate(data) {
  return request({
    url: "/eam-service-order/prodForm",
    method: "post",
    data: data,
  });
}
